#include "task_dac.h"

TaskHandle_t xHandleTaskDAC = NULL;
float dac;   // 0~3.3

void vTask_DAC(void *pvParameters)
{
  while(1)
	{
		vTaskDelay(10 / portTICK_RATE_MS );
		DAC0_SetVoltage(dac);
	}
}

